/*
*@Author created by Wangbin
*@data Nov 21, 2017----2:06:30 PM
*/

package com.weizhong.update.model;

import java.util.List;

/**
 * 优化数据类
 * @author wangbin
 *
 */
public class AppOptimizeData {
	
	private int serviceStatus = -1;
	private int showToast = -1;
	private int lauchSwich = -1;
	private List<String> blackList; 
	private List<String> whiteList; 
	private List<String> autoWorkBlackList; 
	private List<String> autoWorkWhiteList;
	private CleanParameters cleanParameters;
	
	public AppOptimizeData(){
		
	}
	
	public int isShowToast() {
		return showToast;
	}

	public void setShowToast(int showToast) {
		this.showToast = showToast;
	}

	public int isServiceStatus() {
		return serviceStatus;
	}
	
	public void setServiceStatus(int serviceStatus) {
		this.serviceStatus = serviceStatus;
	}
	
	public int isLauchSwich() {
		return lauchSwich;
	}

	public void setLauchSwich(int lauchSwich) {
		this.lauchSwich = lauchSwich;
	}
	
	public List<String> getBlackList() {
		return blackList;
	}
	
	public void setBlackList(List<String> blackList) {
		this.blackList = blackList;
	}
	
	public List<String> getWhiteList() {
		return whiteList;
	}

	public void setWhiteList(List<String> whiteList) {
		this.whiteList = whiteList;
	}
	
	public List<String> getAutoWorkBlackList() {
		return autoWorkBlackList;
	}
	
	public void setAutoWorkBlackList(List<String> autoWorkBlackList) {
		this.autoWorkBlackList = autoWorkBlackList;
	}
	
	public List<String> getAutoWorkWhiteList() {
		return autoWorkWhiteList;
	}
	
	public void setAutoWorkWhiteList(List<String> autoWorkWhiteList) {
		this.autoWorkWhiteList = autoWorkWhiteList;
	}
	
	public CleanParameters getCleanParameters() {
		return cleanParameters;
	}

	public void setCleanParameters(CleanParameters cleanParameters) {
		this.cleanParameters = cleanParameters;
	}
	
	@Override
	public String toString() {
		String blackListString = "";
		String whiteListString = "";
		String launchBlackListString = "";
		String launchWhiteListString = "";
		if(blackList != null){
			blackListString = blackList.toString();
		}
		
		if(whiteList != null){
			whiteListString = whiteList.toString();
		}
		
		if(autoWorkBlackList != null){
			launchBlackListString = autoWorkBlackList.toString();
		}	
		
		if(autoWorkWhiteList != null){
			launchWhiteListString = autoWorkWhiteList.toString();
		}	
		
		return "serviceStatus: " + serviceStatus + ",showToast: " + showToast + ", launchSwich: " + 
				lauchSwich + ", blackList: " + blackListString + ", whiteList: " + whiteListString + 
				",autoWorkBlackList: " + launchBlackListString +  ",autoWorkWhiteList: "
				+ launchWhiteListString + ",cleanParameters: "  + cleanParameters.toString();
	}
}
